<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>合并列表单元格</title>
</head>
<body>
    <table border="1">
        <thead>
            <tr>
                <th>姓名</th>
                <th>语文</th>
                <th>数学</th>
                <th>英语</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>张三</td>
                <td>100</td>
                <td rowspan="3">99</td>
                <td>98</td>
            </tr>
            <tr>
                <td>李四</td>
                <td>97</td>
                <!-- <td>99</td> -->
                <td>95</td>
            </tr>
        </tbody>
        <tfoot>
            <tr>
                <td>总分</td>
                <td colspan="3">197</td>
                <!-- <td>195</td>
                <td>193</td> -->
            </tr>
        </tfoot>

    </table>
</body>
</html>